import './wdyr'
import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'
import * as serviceWorker from './serviceWorker'
import 'lib-flexible'
import store from './redux/store'
import 'assets/css/index.scss'
import 'assets/css/base.scss'
import App from './App.jsx'

ReactDOM.render(
    <Provider store={store}>
        <App />
    </Provider>,
    document.getElementById('root')
)

if ('production' === process.env.NODE_ENV) {
    serviceWorker.register()
} else {
    serviceWorker.unregister()
}
